package errorDeal

import (
	error2 "OnlineRetailers/models/errorDeal"
	"fmt"
)

func ErrMess(err *error2.Log, code string, message error, addr string, more ...interface{}) *error2.Log {
	fmt.Println(message)
	err.Code = code
	err.Err = message
	err.Addr = addr
	err.More = more
	//logs.Log(err)
	return err
}
